<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="javax.servlet.http.HttpServlet"%>
<%@ page import="javax.servlet.http.HttpServletRequest"%>
<%@ page import="javax.servlet.http.HttpServletResponse"%>
<%@ page import="javax.servlet.http.HttpSession"%>
<%@ page import="java.util.Date" %>
<%@ page import="battleship.User" %>
<%@ page import="battleship.CacheFilter" %>


<!DOCTYPE html>
<html lang="et">
<head>
    <title>Laevade pommitamine</title>
    <%--<link rel="stylesheet" type="text/css" href="main.css" />--%>
    <%--<link rel="stylesheet" type="text/css" href="highScores.css" />--%>
    <%--<script type="text/javascript" src="drag_drop.js"></script>--%>
    <%--<script type="text/javascript" src="jquery-1.7.1.js"></script>--%>
    <%--<script type="text/javascript" src="rankings.js"></script>--%>
    <%--<script type="text/javascript" src="highScores.js"></script>--%>
    <%
        final String[] resources = {"main.css", "highScores.css", "min/jquery-1.7.1.js", "min/rankings.js", "min/highScores.js"};
        ServletContext context = session.getServletContext();

        for (String resource : resources) {
            out.write(CacheFilter.getResource(context, resource));
        }
    %>

</head>

<body>
<div id="content">
    <div id="title_area">
        <h1 id="title_header">Laevade pommitamine</h1>
    </div>
    <div id="center_area">
        <div id="highScores">
            <div id="scoresTitle">
                <h1>Edetabel</h1>
            </div>
            <div id="scoresBackButtonDiv">
                <button id="scoresToLobby" class="button">Ooteruum</button>
            </div>
            <div id="scoresTableDivOuter">
                <div id="scoresTableDiv">
                    <table id="scoresTable">
                        <tr>
                            <th>Mängija</th>
                            <th>Võite</th>
                            <th>Kaotusi</th>
                            <th>Võiduprotsent</th>
                        </tr>
                        <tr>
                            <td>Peeter</td>
                            <td>5</td>
                            <td>5</td>
                            <td>50%</td>
                        </tr>
                        <tr>
                            <td>Peeter</td>
                            <td>5</td>
                            <td>5</td>
                            <td>50%</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">
    </div>
</div>
</body>
</html>